paraview_add_plugin(GMVReader
  REQUIRED_ON_SERVER
  VERSION "1.0"
  MODULES GMVReader::vtkGMVReader
  MODULE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/Reader/vtk.module")

# TODO: What to do with pqGMVReaderPanel? This is needed if it is to be used.
target_link_libraries(GMVReader
  PRIVATE
    ParaView::Core
    ParaView::ServerManagerCore)

if (BUILD_TESTING)
  add_subdirectory(Testing)
endif ()
